<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>头像布局</title>
    <style>
        .user-avatar {
            border-radius: 50%;
            height: 64px;
            width: 64px;
            border: 1px solid #ddd;
            padding: 5px;
        }

        .avatar-image {
            border-radius: 50%;
            height: 100%;
            width: 100%;
            object-fit: cover;
        }
    </style>
</head>

<body>
    <div class="user-avatar">
        <img class="avatar-image" src="../images/02.jpg" alt="">
    </div>
</body>

</html>